﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace WcfService1
{
    [DataContract]
    public class MateriaPrima
    {
        [DataMember]
        public int CodMatPrima { get; set; }
        [DataMember]
        public string NomMatPrima { get; set; }

        public MateriaPrima(int cod, string nom)
        {
            CodMatPrima = cod;
            NomMatPrima = nom;
        }

        public MateriaPrima()
        {
            // TODO: Complete member initialization
        }
    }
}